package com.example.cloud.controller;

import com.example.cloud.domain.CloudPO;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@ResponseBody
public class MyController {

    @PostMapping("/test")
    public CloudPO test() {
        return new CloudPO("修改后的张聪明111222");
    }
}
